<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ page import="com.alibaba.fastjson.JSONObject" %>
<%@ page import="weaver.general.Util" %>
<jsp:useBean id="rs" class="weaver.conn.RecordSet" scope="page"/>
<jsp:useBean id="bb" class="weaver.general.BaseBean"/>
<%
    String requestid = Util.null2String( request.getParameter( "requestid" ) );

    JSONObject jsonData = new JSONObject();
    String sql = "select currentnodeid from WORKFLOW_requestbase where requestid="+requestid;
    rs.executeQuery( sql );
    boolean flag = true;
    String msg = "";
    while (rs.next()) {
        String currentnodeid = Util.null2String( rs.getString( "currentnodeid" ) );		
       jsonData.put( "currentnodeid", currentnodeid );
    }
    out.print( jsonData.toJSONString() );
    bb.writeLog( "getNodeid_Ajax============================="  );
%>


